package cn.com.company.main.client.service;

import java.util.List;

import cn.com.company.main.client.entity.FileModel;
import cn.com.company.main.client.entity.IcbomchildItem;
import cn.com.company.main.client.entity.TIcItem;
import cn.com.company.main.client.entity.TItem;
import cn.com.company.main.client.entity.VwWebbomIcitem;
import cn.com.company.main.client.entity.VwWebbomIcitemSimp;
import cn.com.company.main.client.entity.WebbomUserinfo;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("greet")
public interface GreetingService extends RemoteService {
	String greetServer(String name) throws IllegalArgumentException;

	WebbomUserinfo checkLoginUser(String loginname, String pwd);

	List<FileModel> getIcbomModel(FileModel model);

	List<VwWebbomIcitem> getIcItemByItemId(String itemId);

	String updateUserPassword(String userId, String oldPwd, String newPwd);

	List<IcbomchildItem> getIcbomItem(IcbomchildItem model, String interId);

	List<TItem> getItemByConditon(TItem item);

	List<TIcItem> getTIcItemByItemId(String itemId);

	List<TIcItem> getIcbomParent(TIcItem model, String itemId);

	List<VwWebbomIcitemSimp> getIcItemList();
}
